package com.aigou.admin.service;

import com.aigou.admin.entity.OrderProduct;
import com.aigou.admin.entity.PageEntity;

import java.util.List;

public interface OrderProductService {

    List<OrderProduct> getAllOrderProducts();

    OrderProduct getOrderProductById(String id);

    int addOrderProduct(OrderProduct orderProduct);

    int deleteOrderProduct(String id);

    int updateOrderProduct(OrderProduct orderProduct);

    PageEntity<OrderProduct> findOrderProductPage(Integer current, Integer pageSize);
}
